package person;

public class Constructor  {
	
	public static void main (String [] args) {
		test01();
	
	
	}
	private static void test01(){
		//创立实例对象zhangsan
		Person perZhangsan =new Person("张三",33,1.60);
		//创建李四
		Person perLisi=new Person("李四",44,1.60);
		
		//张三向李四打招呼
		System.out.println("张三向李四打招呼");
		perZhangsan.sayHello();
		
		//李四向张三打招呼
		System.out.println("李四向张三打招呼");
		perLisi.sayHello();
	}
}
	
	